package ch.abcm.remsmobile.REMSMobile.externnotifier.utils;

import android.content.Context;
import android.util.Log;

public class NotificationLogger {

	private static final String TAG = "NotificationLogger";

	public void appendMessageToFile(Context context, String message, boolean isPN, boolean isOK) {
		if (isPN) {
			Log.d(TAG, " ");
			Log.d(TAG, message);
			Log.d(TAG, " ");
		}else if (isOK) {
			Log.i(TAG, " ");
			Log.i(TAG, message);
			Log.i(TAG, " ");
			
		}else {
			Log.e(TAG, " ");
			Log.e(TAG, message);
			Log.e(TAG, " ");
		}
		
		Log.v(TAG, "-----------------------");
		
	}
}
